# near model CODE resource # jump table entries: 22208-22210 (3 of them) export_2776: 00000000 4E56 0000 link A6, 0 00000004 2F0C move.l -[A7], A4 00000006 70FF moveq.l D0, 0xFFFFFFFF 00000008 A055 syscall StripAddress 0000000A 2B40 FD56 move.l [A5 - 0x2AA], D0 0000000E 486D FD64 pea.l [A5 - 0x29C] 00000012 4EBA 0166 jsr [PC + 0x166 /* 0000017A */] 00000016 4A2D FD8A tst.b [A5 - 0x276] 0000001A 664A bne +0x4C /* 00000066 */ 0000001C 486D F4B0 pea.l [A5 - 0xB50] 00000020 A86E syscall InitGraf 00000022 A8FE syscall InitFonts 00000024 A912 syscall InitWindows 00000026 3F3C 7F7F move.w -[A7], 0x7F7F 0000002A 7000 moveq.l D0, 0x00 0000002C 3F00 move.w -[A7], D0 0000002E 201F move.l D0, [A7]+ 00000030 A032 syscall FlushEvents 00000032 70FF moveq.l D0, 0xFFFFFFFF 00000034 31C0 0144 move.w [0x00000144 /* SysEvtMask */], D0 00000038 A930 syscall InitMenus 0000003A A9CC syscall TEInit 0000003C 7000 moveq.l D0, 0x00 0000003E 2F00 move.l -[A7], D0 00000040 A97B syscall InitDialogs 00000042 598F subq.l A7, 4 00000044 7004 moveq.l D0, 0x04 00000046 3F00 move.w -[A7], D0 00000048 A9B9 syscall GetCursor 0000004A 285F movea.l A4, [A7]+ 0000004C A850 syscall InitCursor 0000004E 200C move.l D0, A4 00000050 6704 beq +0x6 /* 00000056 */ 00000052 2F14 move.l -[A7], [A4] 00000054 A851 syscall SetCursor label00000056: 00000056 558F subq.l A7, 2 00000058 A994 syscall CurResFile 0000005A 3B5F FD8C move.w [A5 - 0x274], [A7]+ 0000005E 1B7C 0001 FD62 move.b [A5 - 0x29E], 0x1 00000064 6002 bra +0x4 /* 00000068 */ label00000066: 00000066 A9F4 syscall ExitToShell label00000068: 00000068 286E FFFC movea.l A4, [A6 - 0x4] 0000006C 4E5E unlink A6 0000006E 4E75 rts 00000070 9144 subx.w D0, D4 00000072 4F52 chk.w D7, [A2] 00000074 4541 chk.w D2, D1 00000076 4C49 4E49 movem.l D0,D3,D6,A1,A2,A3,A6, A1 0000007A 5454 addq.w [A4], 2 0000007C 4F4F chk.w D7, A7 0000007E 4C42 4F58 movem.l D3,D4,D6,A0,A1,A2,A3,A6, D2 00000082 0000 4E56 ori.b D0, 0x56 /* 'V' */ export_2777: // at 00000084 (misaligned) 00000086 0000 48E7 ori.b D0, 0xE7 0000008A 1108 move.b -[A0], A0 0000008C 286E 0008 movea.l A4, [A6 + 0x8] 00000090 7E01 moveq.l D7, 0x01 00000092 7600 moveq.l D3, 0x00 00000094 4A07 tst.b D7 00000096 6708 beq +0xA /* 000000A0 */ 00000098 4A2C 0012 tst.b [A4 + 0x12] 0000009C 6702 beq +0x4 /* 000000A0 */ 0000009E 7601 moveq.l D3, 0x01 label000000A0: 000000A0 1E03 move.b D7, D3 000000A2 7600 moveq.l D3, 0x00 000000A4 4A07 tst.b D7 000000A6 6708 beq +0xA /* 000000B0 */ 000000A8 4A2C 0015 tst.b [A4 + 0x15] 000000AC 6702 beq +0x4 /* 000000B0 */ 000000AE 7601 moveq.l D3, 0x01 label000000B0: 000000B0 1E03 move.b D7, D3 000000B2 7600 moveq.l D3, 0x00 000000B4 4A07 tst.b D7 000000B6 6708 beq +0xA /* 000000C0 */ 000000B8 4A2C 0014 tst.b [A4 + 0x14] 000000BC 6702 beq +0x4 /* 000000C0 */ 000000BE 7601 moveq.l D3, 0x01 label000000C0: 000000C0 1E03 move.b D7, D3 000000C2 7600 moveq.l D3, 0x00 000000C4 4A07 tst.b D7 000000C6 6708 beq +0xA /* 000000D0 */ 000000C8 4A2C 0016 tst.b [A4 + 0x16] 000000CC 6702 beq +0x4 /* 000000D0 */ 000000CE 7601 moveq.l D3, 0x01 label000000D0: 000000D0 1E03 move.b D7, D3 000000D2 7600 moveq.l D3, 0x00 000000D4 4A07 tst.b D7 000000D6 6708 beq +0xA /* 000000E0 */ 000000D8 4A2C 0018 tst.b [A4 + 0x18] 000000DC 6702 beq +0x4 /* 000000E0 */ 000000DE 7601 moveq.l D3, 0x01 label000000E0: 000000E0 1E03 move.b D7, D3 000000E2 7600 moveq.l D3, 0x00 000000E4 4A07 tst.b D7 000000E6 670A beq +0xC /* 000000F2 */ 000000E8 0C6C 0605 0004 cmpi.w [A4 + 0x4], 0x605 000000EE 6D02 blt +0x4 /* 000000F2 */ 000000F0 7601 moveq.l D3, 0x01 label000000F2: 000000F2 1E03 move.b D7, D3 000000F4 4A2C 001B tst.b [A4 + 0x1B] 000000F8 6704 beq +0x6 /* 000000FE */ 000000FA 4EAD 030A jsr [A5 + 0x30A /* export_93 */] label000000FE: 000000FE 1D47 000C move.b [A6 + 0xC], D7 00000102 4CEE 1088 FFF4 movem.l D3,D7,A4, [A6 - 0xC] 00000108 4E5E unlink A6 0000010A 2E9F move.l [A7], [A7]+ 0000010C 4E75 rts 0000010E 9556 sub.w [A6], D2 00000110 414C chk.w D0, A4 00000112 4944 chk.w D4, D4 00000114 4154 chk.w D0, [A4] 00000116 4543 chk.w D2, D3 00000118 4F4E chk.w D7, A6 0000011A 4649 not.w A1 0000011C 4755 chk.w D3, [A5] 0000011E 5241 addq.w D1, 1 00000120 5449 addq.w A1, 2 00000122 4F4E chk.w D7, A6 00000124 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 00000126-0000012A fn00000126: 00000126 4E56 FFFC link A6, -0x0004 // end alternate branch 00000126-0000012A fn00000126: // (misaligned) 00000128 FFFC .invalid <> 0000012A 2F03 move.l -[A7], D3 0000012C 7600 moveq.l D3, 0x00 0000012E 2F03 move.l -[A7], D3 00000130 558F subq.l A7, 2 00000132 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000136 486E FFFC pea.l [A6 - 0x4] 0000013A 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 0000013E 301F move.w D0, [A7]+ 00000140 261F move.l D3, [A7]+ 00000142 4A40 tst.w D0 00000144 6612 bne +0x14 /* 00000158 */ 00000146 302E 000E move.w D0, [A6 + 0xE] 0000014A 222E FFFC move.l D1, [A6 - 0x4] 0000014E E0A1 asr D1, D0 00000150 7001 moveq.l D0, 0x01 00000152 C081 and.l D0, D1 00000154 6702 beq +0x4 /* 00000158 */ 00000156 7601 moveq.l D3, 0x01 label00000158: 00000158 1003 move.b D0, D3 0000015A 262E FFF8 move.l D3, [A6 - 0x8] 0000015E 4E5E unlink A6 00000160 4E75 rts 00000162 9448 sub.w D2, A0 00000164 6173 bsr +0x75 /* 000001D9 */ 00000166 4765 chk.w D3, -[A5] 00000168 7374 moveq.l D1, 0x74 0000016A 616C bsr +0x6E /* 000001D8 */ 0000016C 7441 moveq.l D2, 0x41 0000016E 7474 moveq.l D2, 0x74 00000170 725F moveq.l D1, 0x5F 00000172 5F46 subq.w D6, 7 00000174 556C 7300 subq.w [A4 + 0x7300], 2 00000178 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 0000017A-0000017E fn0000017A: 0000017A 4E56 FFB8 link A6, -0x0048 // end alternate branch 0000017A-0000017E fn0000017A: // (misaligned) 0000017C FFB8 .invalid <> 0000017E 48E7 1108 movem.l -[A7], D3,D7,A4 00000182 286E 0008 movea.l A4, [A6 + 0x8] 00000186 558F subq.l A7, 2 00000188 2F3C 7665 7273 move.l -[A7], 0x76657273 /* 'vers' */ 0000018E 486E FFFC pea.l [A6 - 0x4] 00000192 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 00000196 3E1F move.w D7, [A7]+ 00000198 38AE FFFE move.w [A4], [A6 - 0x2] 0000019C 558F subq.l A7, 2 0000019E 2F3C 6D61 6368 move.l -[A7], 0x6D616368 /* 'mach' */ 000001A4 486E FFFC pea.l [A6 - 0x4] 000001A8 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 000001AC 3E1F move.w D7, [A7]+ 000001AE 396E FFFE 0002 move.w [A4 + 0x2], [A6 - 0x2] 000001B4 7003 moveq.l D0, 0x03 000001B6 B06C 0002 cmp.w D0, [A4 + 0x2] 000001BA 5FC3 sle D3 000001BC 4403 neg.b D3 000001BE 1943 0012 move.b [A4 + 0x12], D3 000001C2 6708 beq +0xA /* 000001CC */ 000001C4 197C 0001 0013 move.b [A4 + 0x13], 0x1 000001CA 6010 bra +0x12 /* 000001DC */ label000001CC: 000001CC 558F subq.l A7, 2 000001CE 3EB8 03F6 move.w [A7], [0x000003F6 /* FSFCBLen */] 000001D2 4A5F tst.w [A7]+ 000001D4 5EC3 sgt D3 000001D6 4403 neg.b D3 fn000001D8: 000001D8 1943 0013 move.b [A4 + 0x13], D3 label000001DC: 000001DC 558F subq.l A7, 2 000001DE 2F3C 7379 7376 move.l -[A7], 0x73797376 /* 'sysv' */ 000001E4 486E FFFC pea.l [A6 - 0x4] 000001E8 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 000001EC 3E1F move.w D7, [A7]+ 000001EE 396E FFFE 0004 move.w [A4 + 0x4], [A6 - 0x2] 000001F4 558F subq.l A7, 2 000001F6 2F3C 7072 6F63 move.l -[A7], 0x70726F63 /* 'proc' */ 000001FC 486E FFFC pea.l [A6 - 0x4] 00000200 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 00000204 3E1F move.w D7, [A7]+ 00000206 396E FFFE 0006 move.w [A4 + 0x6], [A6 - 0x2] 0000020C 558F subq.l A7, 2 0000020E 2F3C 6670 7520 move.l -[A7], 0x66707520 /* 'fpu ' */ 00000214 486E FFFC pea.l [A6 - 0x4] 00000218 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 0000021C 3E1F move.w D7, [A7]+ 0000021E 4AAE FFFC tst.l [A6 - 0x4] 00000222 56C3 sne D3 00000224 4403 neg.b D3 00000226 1943 0008 move.b [A4 + 0x8], D3 0000022A 558F subq.l A7, 2 0000022C 2F3C 7164 2020 move.l -[A7], 0x71642020 /* 'qd ' */ 00000232 486E FFFC pea.l [A6 - 0x4] 00000236 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 0000023A 3E1F move.w D7, [A7]+ 0000023C 4AAE FFFC tst.l [A6 - 0x4] 00000240 56C3 sne D3 00000242 4403 neg.b D3 00000244 1943 0009 move.b [A4 + 0x9], D3 00000248 558F subq.l A7, 2 0000024A 2F3C 7164 2020 move.l -[A7], 0x71642020 /* 'qd ' */ 00000250 486E FFFC pea.l [A6 - 0x4] 00000254 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 00000258 3E1F move.w D7, [A7]+ 0000025A 7600 moveq.l D3, 0x00 0000025C 4A2C 0009 tst.b [A4 + 0x9] 00000260 670C beq +0xE /* 0000026E */ 00000262 0CAE 0000 0100 FFFC cmpi.l [A6 - 0x4], 0x100 0000026A 6702 beq +0x4 /* 0000026E */ 0000026C 7601 moveq.l D3, 0x01 label0000026E: 0000026E 1943 001D move.b [A4 + 0x1D], D3 00000272 558F subq.l A7, 2 00000274 2F3C 6B62 6420 move.l -[A7], 0x6B626420 /* 'kbd ' */ 0000027A 486E FFFC pea.l [A6 - 0x4] 0000027E 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 00000282 3E1F move.w D7, [A7]+ 00000284 396E FFFE 000A move.w [A4 + 0xA], [A6 - 0x2] 0000028A 558F subq.l A7, 2 0000028C 2F3C 6174 6C6B move.l -[A7], 0x61746C6B /* 'atlk' */ 00000292 486E FFFC pea.l [A6 - 0x4] 00000296 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 0000029A 3E1F move.w D7, [A7]+ 0000029C 396E FFFE 000C move.w [A4 + 0xC], [A6 - 0x2] 000002A2 7007 moveq.l D0, 0x07 000002A4 2F00 move.l -[A7], D0 000002A6 2F3C 6864 7772 move.l -[A7], 0x68647772 /* 'hdwr' */ 000002AC 4EBA FE78 jsr [PC - 0x188 /* 00000126 */] 000002B0 1940 0019 move.b [A4 + 0x19], D0 000002B4 558F subq.l A7, 2 000002B6 2F3C 612F 7578 move.l -[A7], 0x612F7578 /* 'a/ux' */ 000002BC 486E FFFC pea.l [A6 - 0x4] 000002C0 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 000002C4 3E1F move.w D7, [A7]+ 000002C6 4AAE FFFC tst.l [A6 - 0x4] 000002CA 56C3 sne D3 000002CC 4403 neg.b D3 000002CE 1943 001B move.b [A4 + 0x1B], D3 000002D2 558F subq.l A7, 2 000002D4 2F3C 7363 7269 move.l -[A7], 0x73637269 /* 'scri' */ 000002DA 486E FFFC pea.l [A6 - 0x4] 000002DE 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 000002E2 3E1F move.w D7, [A7]+ 000002E4 7600 moveq.l D3, 0x00 000002E6 4A2C 0012 tst.b [A4 + 0x12] 000002EA 504F addq.w A7, 8 000002EC 6708 beq +0xA /* 000002F6 */ 000002EE 4AAE FFFC tst.l [A6 - 0x4] 000002F2 6702 beq +0x4 /* 000002F6 */ 000002F4 7601 moveq.l D3, 0x01 label000002F6: 000002F6 1943 0015 move.b [A4 + 0x15], D3 000002FA 7004 moveq.l D0, 0x04 000002FC 2F00 move.l -[A7], D0 000002FE 2F3C 6F73 2020 move.l -[A7], 0x6F732020 /* 'os ' */ 00000304 4EBA FE20 jsr [PC - 0x1E0 /* 00000126 */] 00000308 1940 001C move.b [A4 + 0x1C], D0 0000030C 558F subq.l A7, 2 0000030E 2F3C 7465 2020 move.l -[A7], 0x74652020 /* 'te ' */ 00000314 486E FFFC pea.l [A6 - 0x4] 00000318 4EAD 05FA jsr [A5 + 0x5FA /* export_187 */] 0000031C 3E1F move.w D7, [A7]+ 0000031E 296E FFFC 000E move.l [A4 + 0xE], [A6 - 0x4] 00000324 558F subq.l A7, 2 00000326 3EB8 0B22 move.w [A7], [0x00000B22 /* HWCfgFlags */] 0000032A 303C 0400 move.w D0, 0x400 0000032E C05F and.w D0, [A7]+ 00000330 7200 moveq.l D1, 0x00 00000332 3200 move.w D1, D0 00000334 4A81 tst.l D1 00000336 52C3 shi D3 00000338 4403 neg.b D3 0000033A 1943 001A move.b [A4 + 0x1A], D3 0000033E 7600 moveq.l D3, 0x00 00000340 4A2C 0012 tst.b [A4 + 0x12] 00000344 504F addq.w A7, 8 00000346 6716 beq +0x18 /* 0000035E */ 00000348 2F03 move.l -[A7], D3 0000034A 558F subq.l A7, 2 0000034C 3F3C A80B move.w -[A7], 0xA80B 00000350 4EAD 37A2 jsr [A5 + 0x37A2 /* export_1776 */] 00000354 101F move.b D0, [A7]+ 00000356 261F move.l D3, [A7]+ 00000358 4A00 tst.b D0 0000035A 6702 beq +0x4 /* 0000035E */ 0000035C 7601 moveq.l D3, 0x01 label0000035E: 0000035E 1943 0014 move.b [A4 + 0x14], D3 00000362 0C6C 0600 0004 cmpi.w [A4 + 0x4], 0x600 00000368 5CC3 sge D3 0000036A 4403 neg.b D3 0000036C 1943 0016 move.b [A4 + 0x16], D3 00000370 7600 moveq.l D3, 0x00 00000372 4A2C 0012 tst.b [A4 + 0x12] 00000376 6716 beq +0x18 /* 0000038E */ 00000378 2F03 move.l -[A7], D3 0000037A 558F subq.l A7, 2 0000037C 3F3C A803 move.w -[A7], 0xA803 00000380 4EAD 37A2 jsr [A5 + 0x37A2 /* export_1776 */] 00000384 101F move.b D0, [A7]+ 00000386 261F move.l D3, [A7]+ 00000388 4A00 tst.b D0 0000038A 6702 beq +0x4 /* 0000038E */ 0000038C 7601 moveq.l D3, 0x01 label0000038E: 0000038E 1943 0017 move.b [A4 + 0x17], D3 00000392 7600 moveq.l D3, 0x00 00000394 4A2C 0012 tst.b [A4 + 0x12] 00000398 6716 beq +0x18 /* 000003B0 */ 0000039A 2F03 move.l -[A7], D3 0000039C 558F subq.l A7, 2 0000039E 3F3C A860 move.w -[A7], 0xA860 000003A2 4EAD 37A2 jsr [A5 + 0x37A2 /* export_1776 */] 000003A6 101F move.b D0, [A7]+ 000003A8 261F move.l D3, [A7]+ 000003AA 4A00 tst.b D0 000003AC 6702 beq +0x4 /* 000003B0 */ 000003AE 7601 moveq.l D3, 0x01 label000003B0: 000003B0 1943 0018 move.b [A4 + 0x18], D3 000003B4 7000 moveq.l D0, 0x00 000003B6 2F00 move.l -[A7], D0 000003B8 2F3C 6576 6E74 move.l -[A7], 0x65766E74 /* 'evnt' */ 000003BE 4EBA FD66 jsr [PC - 0x29A /* 00000126 */] 000003C2 1940 001E move.b [A4 + 0x1E], D0 000003C6 7000 moveq.l D0, 0x00 000003C8 2F00 move.l -[A7], D0 000003CA 2F3C 6564 746E move.l -[A7], 0x6564746E /* 'edtn' */ 000003D0 4EBA FD54 jsr [PC - 0x2AC /* 00000126 */] 000003D4 1940 001F move.b [A4 + 0x1F], D0 000003D8 7000 moveq.l D0, 0x00 000003DA 2F00 move.l -[A7], D0 000003DC 2F3C 6865 6C70 move.l -[A7], 0x68656C70 /* 'help' */ 000003E2 4EBA FD42 jsr [PC - 0x2BE /* 00000126 */] 000003E6 1940 0020 move.b [A4 + 0x20], D0 000003EA 7000 moveq.l D0, 0x00 000003EC 2F00 move.l -[A7], D0 000003EE 2F3C 616C 6973 move.l -[A7], 0x616C6973 /* 'alis' */ 000003F4 4EBA FD30 jsr [PC - 0x2D0 /* 00000126 */] 000003F8 1940 0021 move.b [A4 + 0x21], D0 000003FC 7000 moveq.l D0, 0x00 000003FE 2F00 move.l -[A7], D0 00000400 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */ 00000406 4EBA FD1E jsr [PC - 0x2E2 /* 00000126 */] 0000040A 1940 0022 move.b [A4 + 0x22], D0 0000040E 7000 moveq.l D0, 0x00 00000410 2F00 move.l -[A7], D0 00000412 2F3C 706F 7021 move.l -[A7], 0x706F7021 /* 'pop!' */ 00000418 4EBA FD0C jsr [PC - 0x2F4 /* 00000126 */] 0000041C 1940 0024 move.b [A4 + 0x24], D0 00000420 7000 moveq.l D0, 0x00 00000422 2F00 move.l -[A7], D0 00000424 2F3C 666F 6E74 move.l -[A7], 0x666F6E74 /* 'font' */ 0000042A 4EBA FCFA jsr [PC - 0x306 /* 00000126 */] 0000042E 1940 0025 move.b [A4 + 0x25], D0 00000432 0C6C 0700 0004 cmpi.w [A4 + 0x4], 0x700 00000438 4FEF 0038 lea.l A7, [A7 + 0x38] 0000043C 6D66 blt +0x68 /* 000004A4 */ 0000043E 197C 0001 0023 move.b [A4 + 0x23], 0x1 00000444 7000 moveq.l D0, 0x00 00000446 2D40 FFB8 move.l [A6 - 0x48], D0 0000044A 7202 moveq.l D1, 0x02 0000044C 2D41 FFBC move.l [A6 - 0x44], D1 00000450 703C moveq.l D0, 0x3C 00000452 2D40 FFC0 move.l [A6 - 0x40], D0 00000456 7000 moveq.l D0, 0x00 00000458 2D40 FFC4 move.l [A6 - 0x3C], D0 0000045C 2D40 FFF8 move.l [A6 - 0x8], D0 00000460 558F subq.l A7, 2 00000462 486E FFB8 pea.l [A6 - 0x48] 00000466 486E FFC0 pea.l [A6 - 0x40] 0000046A 3F3C 003A move.w -[A7], 0x3A /* ':' */ 0000046E A88F syscall OSDispatch 00000470 4A5F tst.w [A7]+ 00000472 662A bne +0x2C /* 0000049E */ 00000474 203C 0000 0400 move.l D0, 0x400 0000047A C0AE FFD8 and.l D0, [A6 - 0x28] 0000047E 6704 beq +0x6 /* 00000484 */ 00000480 7001 moveq.l D0, 0x01 00000482 6002 bra +0x4 /* 00000486 */ label00000484: 00000484 7000 moveq.l D0, 0x00 label00000486: 00000486 1940 0026 move.b [A4 + 0x26], D0 0000048A 7040 moveq.l D0, 0x40 0000048C C0AE FFD8 and.l D0, [A6 - 0x28] 00000490 6704 beq +0x6 /* 00000496 */ 00000492 7001 moveq.l D0, 0x01 00000494 6002 bra +0x4 /* 00000498 */ label00000496: 00000496 7000 moveq.l D0, 0x00 label00000498: 00000498 1940 0027 move.b [A4 + 0x27], D0 0000049C 600E bra +0x10 /* 000004AC */ label0000049E: 0000049E 426C 0026 clr.w [A4 + 0x26] 000004A2 6008 bra +0xA /* 000004AC */ label000004A4: 000004A4 422C 0023 clr.b [A4 + 0x23] 000004A8 426C 0026 clr.w [A4 + 0x26] label000004AC: 000004AC 4CEE 1088 FFAC movem.l D3,D7,A4, [A6 - 0x54] 000004B2 4E5E unlink A6 000004B4 2E9F move.l [A7], [A7]+ 000004B6 4E75 rts 000004B8 9344 subx.w D1, D4 000004BA 4546 chk.w D2, D6 000004BC 494E chk.w D4, A6 000004BE 4543 chk.w D2, D3 000004C0 4F4E chk.w D7, A6 000004C2 4649 not.w A1 000004C4 4755 chk.w D3, [A5] 000004C6 5241 addq.w D1, 1 000004C8 5449 addq.w A1, 2 000004CA 4F4E chk.w D7, A6 000004CC 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 000004CE-000004D6 fn000004CE: 000004CE 4E56 FEFA link A6, -0x0106 000004D2 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4 // end alternate branch 000004CE-000004D6 fn000004CE: // (misaligned) 000004D0 FEFA 48E7 .extension 0xEFA <> // unimplemented 000004D4 0F18 btst [A0]+, D7 000004D6 266E 0008 movea.l A3, [A6 + 0x8] 000004DA 2C2E 000C move.l D6, [A6 + 0xC] 000004DE 558F subq.l A7, 2 000004E0 1EB8 0A5E move.b [A7], [0x00000A5E /* ResLoad */] 000004E4 181F move.b D4, [A7]+ 000004E6 7000 moveq.l D0, 0x00 000004E8 1F00 move.b -[A7], D0 000004EA A99B syscall SetResLoad 000004EC 558F subq.l A7, 2 000004EE 2F06 move.l -[A7], D6 000004F0 A99C syscall CountResources 000004F2 3A1F move.w D5, [A7]+ 000004F4 7E01 moveq.l D7, 0x01 000004F6 6052 bra +0x54 /* 0000054A */ label000004F8: 000004F8 41EE FF00 lea.l A0, [A6 - 0x100] 000004FC 598F subq.l A7, 4 000004FE 2F06 move.l -[A7], D6 00000500 3F07 move.w -[A7], D7 00000502 A99D syscall GetIndResource 00000504 2857 movea.l A4, [A7] 00000506 486E FEFA pea.l [A6 - 0x106] 0000050A 486E FEFC pea.l [A6 - 0x104] 0000050E 486E FF00 pea.l [A6 - 0x100] 00000512 A9A8 syscall GetResInfo 00000514 7000 moveq.l D0, 0x00 00000516 1F00 move.b -[A7], D0 00000518 4EAD 38B2 jsr [A5 + 0x38B2 /* export_1810 */] 0000051C 598F subq.l A7, 4 0000051E 2F06 move.l -[A7], D6 00000520 3F2E FEFA move.w -[A7], [A6 - 0x106] 00000524 A9A0 syscall GetResource 00000526 285F movea.l A4, [A7]+ 00000528 7001 moveq.l D0, 0x01 0000052A 1F00 move.b -[A7], D0 0000052C 4EAD 38B2 jsr [A5 + 0x38B2 /* export_1810 */] 00000530 200C move.l D0, A4 00000532 6714 beq +0x16 /* 00000548 */ 00000534 558F subq.l A7, 2 00000536 2F0C move.l -[A7], A4 00000538 A9A4 syscall HomeResFile 0000053A 7001 moveq.l D0, 0x01 0000053C B05F cmp.w D0, [A7]+ 0000053E 6708 beq +0xA /* 00000548 */ 00000540 2F0C move.l -[A7], A4 00000542 2F0B move.l -[A7], A3 00000544 4EBA 0028 jsr [PC + 0x28 /* 0000056E */] label00000548: 00000548 5247 addq.w D7, 1 label0000054A: 0000054A BA47 cmp.w D5, D7 0000054C 6CAA bge -0x54 /* 000004F8 */ 0000054E 1F04 move.b -[A7], D4 00000550 A99B syscall SetResLoad 00000552 4CEE 18F0 FEE2 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x11E] 00000558 4E5E unlink A6 0000055A 205F movea.l A0, [A7]+ 0000055C 504F addq.w A7, 8 0000055E 4ED0 jmp [A0] 00000560 8A41 or.w D5, D1 00000562 4444 neg.w D4 00000564 414C chk.w D0, A4 00000566 4C52 5352 movem.l D1,D4,D6,A0,A1,A4,A6, [A2] 0000056A 4300 .invalid 1, D0 // invalid opcode 4 with b == 4 0000056C 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 0000056E-00000574 fn0000056E: 0000056E 4E56 0000 link A6, 0 00000572 2F07 move.l -[A7], D7 // end alternate branch 0000056E-00000574 fn0000056E: // (misaligned) 00000570 0000 2F07 ori.b D0, 0x7 00000574 598F subq.l A7, 4 00000576 2F2E 0008 move.l -[A7], [A6 + 0x8] 0000057A 7000 moveq.l D0, 0x00 0000057C 2F00 move.l -[A7], D0 0000057E 2F00 move.l -[A7], D0 00000580 2F00 move.l -[A7], D0 00000582 486E 000C pea.l [A6 + 0xC] 00000586 7204 moveq.l D1, 0x04 00000588 2F01 move.l -[A7], D1 0000058A A9E0 syscall Munger 0000058C 2E1F move.l D7, [A7]+ 0000058E 4EAD 38D2 jsr [A5 + 0x38D2 /* export_1814 */] 00000592 2E2E FFFC move.l D7, [A6 - 0x4] 00000596 4E5E unlink A6 00000598 205F movea.l A0, [A7]+ 0000059A 504F addq.w A7, 8 0000059C 4ED0 jmp [A0] 0000059E 8941 4444 pack D4, D1, 0x4444 000005A2 4841 swap.w D1 000005A4 4E44 trap 4 000005A6 4C45 0000 movem.l , D5 fn000005AA: 000005AA 4E56 FF00 link A6, -0x0100 000005AE 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4 000005B2 41EE FF00 lea.l A0, [A6 - 0x100] 000005B6 558F subq.l A7, 2 000005B8 2F2E 0008 move.l -[A7], [A6 + 0x8] 000005BC 4EAD 031A jsr [A5 + 0x31A /* export_95 */] 000005C0 181F move.b D4, [A7]+ 000005C2 558F subq.l A7, 2 000005C4 1EB8 0A5E move.b [A7], [0x00000A5E /* ResLoad */] 000005C8 1A1F move.b D5, [A7]+ 000005CA 7000 moveq.l D0, 0x00 000005CC 1F00 move.b -[A7], D0 000005CE A99B syscall SetResLoad 000005D0 206E 0008 movea.l A0, [A6 + 0x8] 000005D4 2850 movea.l A4, [A0] 000005D6 3C1C move.w D6, [A4]+ 000005D8 7E00 moveq.l D7, 0x00 000005DA 603E bra +0x40 /* 0000061A */ label000005DC: 000005DC 204C movea.l A0, A4 000005DE 43EE FF00 lea.l A1, [A6 - 0x100] 000005E2 1014 move.b D0, [A4] 000005E4 4880 ext.w D0 000005E6 5240 addq.w D0, 1 000005E8 48C0 ext.l D0 000005EA A02E syscall BlockMove/BlockMoveData 000005EC 598F subq.l A7, 4 000005EE 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */ 000005F4 486E FF00 pea.l [A6 - 0x100] 000005F8 4EAD 3922 jsr [A5 + 0x3922 /* export_1824 */] 000005FC 265F movea.l A3, [A7]+ 000005FE 200B move.l D0, A3 00000600 670C beq +0xE /* 0000060E */ 00000602 598F subq.l A7, 4 00000604 2F0B move.l -[A7], A3 00000606 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc 00000608 201F move.l D0, [A7]+ 0000060A 5080 addq.l D0, 8 0000060C DE80 add.l D7, D0 label0000060E: 0000060E 3006 move.w D0, D6 00000610 5346 subq.w D6, 1 00000612 1014 move.b D0, [A4] 00000614 4880 ext.w D0 00000616 5240 addq.w D0, 1 00000618 D8C0 add.w A4, D0 label0000061A: 0000061A 4A46 tst.w D6 0000061C 6EBE bgt -0x40 /* 000005DC */ 0000061E 1F05 move.b -[A7], D5 00000620 A99B syscall SetResLoad 00000622 206E 0008 movea.l A0, [A6 + 0x8] 00000626 1004 move.b D0, D4 00000628 A06A syscall HSetState 0000062A 2D47 000C move.l [A6 + 0xC], D7 0000062E 4CEE 18F8 FEE4 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x11C] 00000634 4E5E unlink A6 00000636 2E9F move.l [A7], [A7]+ 00000638 4E75 rts 0000063A 8B41 4444 pack D5, D1, 0x4444 0000063E 5345 subq.w D5, 1 00000640 4753 chk.w D3, [A3] 00000642 495A chk.w D4, [A2]+ 00000644 4553 chk.w D2, [A3] 00000646 0000 4E56 ori.b D0, 0x56 /* 'V' */ export_2778: // at 00000648 (misaligned) 0000064A FEF6 48E7 .extension 0xEF6 <> // unimplemented 0000064E 1F18 move.b -[A7], [A0]+ 00000650 41EE FF00 lea.l A0, [A6 - 0x100] 00000654 422D FDAE clr.b [A5 - 0x252] 00000658 7000 moveq.l D0, 0x00 0000065A A122 syscall NewHandle, flags=1 0000065C 2B48 FDB2 move.l [A5 - 0x24E], A0 00000660 2F08 move.l -[A7], A0 00000662 4EAD 38E2 jsr [A5 + 0x38E2 /* export_1816 */] 00000666 7000 moveq.l D0, 0x00 00000668 2B40 FDA4 move.l [A5 - 0x25C], D0 0000066C 7000 moveq.l D0, 0x00 0000066E A122 syscall NewHandle, flags=1 00000670 2B48 FDB6 move.l [A5 - 0x24A], A0 00000674 2F08 move.l -[A7], A0 00000676 4EAD 38E2 jsr [A5 + 0x38E2 /* export_1816 */] 0000067A 7000 moveq.l D0, 0x00 0000067C 2B40 FDA8 move.l [A5 - 0x258], D0 00000680 2B40 FDBE move.l [A5 - 0x242], D0 00000684 1B7C 0001 FDB0 move.b [A5 - 0x250], 0x1 0000068A 422D FDAC clr.b [A5 - 0x254] 0000068E 1B7C 0001 FDC2 move.b [A5 - 0x23E], 0x1 00000694 558F subq.l A7, 2 00000696 598F subq.l A7, 4 00000698 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */ 0000069E 7001 moveq.l D0, 0x01 000006A0 3F00 move.w -[A7], D0 000006A2 A9A0 syscall GetResource 000006A4 A9A4 syscall HomeResFile 000006A6 3B5F FDD2 move.w [A5 - 0x22E], [A7]+ 000006AA 426D FD90 clr.w [A5 - 0x270] 000006AE 558F subq.l A7, 2 000006B0 1EB8 0A5E move.b [A7], [0x00000A5E /* ResLoad */] 000006B4 181F move.b D4, [A7]+ 000006B6 7000 moveq.l D0, 0x00 000006B8 1F00 move.b -[A7], D0 000006BA A99B syscall SetResLoad 000006BC 558F subq.l A7, 2 000006BE 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */ 000006C4 4EAD 3932 jsr [A5 + 0x3932 /* export_1826 */] 000006C8 3A1F move.w D5, [A7]+ 000006CA 7E01 moveq.l D7, 0x01 000006CC 604A bra +0x4C /* 00000718 */ label000006CE: 000006CE 598F subq.l A7, 4 000006D0 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */ 000006D6 3F07 move.w -[A7], D7 000006D8 4EAD 392A jsr [A5 + 0x392A /* export_1825 */] 000006DC 285F movea.l A4, [A7]+ 000006DE 200C move.l D0, A4 000006E0 6734 beq +0x36 /* 00000716 */ 000006E2 2F0C move.l -[A7], A4 000006E4 486E FEFA pea.l [A6 - 0x106] 000006E8 486E FEFC pea.l [A6 - 0x104] 000006EC 486E FF00 pea.l [A6 - 0x100] 000006F0 A9A8 syscall GetResInfo 000006F2 302D FD90 move.w D0, [A5 - 0x270] 000006F6 48C0 ext.l D0 000006F8 2C00 move.l D6, D0 000006FA 302E FEFA move.w D0, [A6 - 0x106] 000006FE 48C0 ext.l D0 00000700 BC80 cmp.l D6, D0 00000702 5DC3 slt D3 00000704 4403 neg.b D3 00000706 6708 beq +0xA /* 00000710 */ 00000708 302E FEFA move.w D0, [A6 - 0x106] 0000070C 48C0 ext.l D0 0000070E 6002 bra +0x4 /* 00000712 */ label00000710: 00000710 2006 move.l D0, D6 label00000712: 00000712 3B40 FD90 move.w [A5 - 0x270], D0 label00000716: 00000716 5247 addq.w D7, 1 label00000718: 00000718 BA47 cmp.w D5, D7 0000071A 6CB2 bge -0x4C /* 000006CE */ 0000071C 1F04 move.b -[A7], D4 0000071E A99B syscall SetResLoad 00000720 302D FD90 move.w D0, [A5 - 0x270] 00000724 48C0 ext.l D0 00000726 E580 asl D0, 2 00000728 A122 syscall NewHandle, flags=1 0000072A 2B48 FDCE move.l [A5 - 0x232], A0 0000072E 2F08 move.l -[A7], A0 00000730 4EAD 38E2 jsr [A5 + 0x38E2 /* export_1816 */] 00000734 302D FD90 move.w D0, [A5 - 0x270] 00000738 48C0 ext.l D0 0000073A A122 syscall NewHandle, flags=1 0000073C 2B48 FDC6 move.l [A5 - 0x23A], A0 00000740 2F08 move.l -[A7], A0 00000742 4EAD 38E2 jsr [A5 + 0x38E2 /* export_1816 */] 00000746 302D FD90 move.w D0, [A5 - 0x270] 0000074A 48C0 ext.l D0 0000074C A122 syscall NewHandle, flags=1 0000074E 2B48 FDCA move.l [A5 - 0x236], A0 00000752 2F08 move.l -[A7], A0 00000754 4EAD 38E2 jsr [A5 + 0x38E2 /* export_1816 */] 00000758 302D FD90 move.w D0, [A5 - 0x270] 0000075C 48C0 ext.l D0 0000075E E580 asl D0, 2 00000760 A122 syscall NewHandle, flags=1 00000762 2B48 FDBA move.l [A5 - 0x246], A0 00000766 2F08 move.l -[A7], A0 00000768 4EAD 38E2 jsr [A5 + 0x38E2 /* export_1816 */] 0000076C 558F subq.l A7, 2 0000076E 1EB8 0A5E move.b [A7], [0x00000A5E /* ResLoad */] 00000772 181F move.b D4, [A7]+ 00000774 7000 moveq.l D0, 0x00 00000776 1F00 move.b -[A7], D0 00000778 A99B syscall SetResLoad 0000077A 4247 clr.w D7 0000077C 6066 bra +0x68 /* 000007E4 */ label0000077E: 0000077E 206D FDC6 movea.l A0, [A5 - 0x23A] 00000782 2050 movea.l A0, [A0] 00000784 4230 7000 clr.b [A0 + D7.w] 00000788 3007 move.w D0, D7 0000078A 5240 addq.w D0, 1 0000078C 48C0 ext.l D0 0000078E 2F00 move.l -[A7], D0 00000790 4EAD 393A jsr [A5 + 0x393A /* export_1827 */] 00000794 2840 movea.l A4, D0 00000796 48C7 ext.l D7 00000798 206D FDCE movea.l A0, [A5 - 0x232] 0000079C 2050 movea.l A0, [A0] 0000079E 2007 move.l D0, D7 000007A0 E580 asl D0, 2 000007A2 218C 0800 move.l [A0 + D0], A4 000007A6 200C move.l D0, A4 000007A8 584F addq.w A7, 4 000007AA 6718 beq +0x1A /* 000007C4 */ 000007AC 598F subq.l A7, 4 000007AE 2F0C move.l -[A7], A4 000007B0 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc 000007B2 48C7 ext.l D7 000007B4 206D FDBA movea.l A0, [A5 - 0x246] 000007B8 2050 movea.l A0, [A0] 000007BA 2007 move.l D0, D7 000007BC E580 asl D0, 2 000007BE 219F 0800 move.l [A0 + D0], [A7]+ 000007C2 6012 bra +0x14 /* 000007D6 */ label000007C4: 000007C4 48C7 ext.l D7 000007C6 206D FDBA movea.l A0, [A5 - 0x246] 000007CA 2050 movea.l A0, [A0] 000007CC 2007 move.l D0, D7 000007CE E580 asl D0, 2 000007D0 7200 moveq.l D1, 0x00 000007D2 2181 0800 move.l [A0 + D0], D1 label000007D6: 000007D6 206D FDCA movea.l A0, [A5 - 0x236] 000007DA 2050 movea.l A0, [A0] 000007DC 11BC 0001 7000 move.b [A0 + D7.w], 0x1 000007E2 5247 addq.w D7, 1 label000007E4: 000007E4 BE6D FD90 cmp.w D7, [A5 - 0x270] 000007E8 6D94 blt -0x6A /* 0000077E */ 000007EA 1F04 move.b -[A7], D4 000007EC A99B syscall SetResLoad 000007EE 558F subq.l A7, 2 000007F0 486D 0322 pea.l [A5 + 0x322 /* export_96 */] 000007F4 4EAD 3962 jsr [A5 + 0x3962 /* export_1832 */] 000007F8 381F move.w D4, [A7]+ 000007FA 48C4 ext.l D4 000007FC 2004 move.l D0, D4 000007FE 5380 subq.l D0, 1 00000800 206D FDC6 movea.l A0, [A5 - 0x23A] 00000804 2050 movea.l A0, [A0] 00000806 11BC 0001 0800 move.b [A0 + D0], 0x1 0000080C 558F subq.l A7, 2 0000080E 486D 39DA pea.l [A5 + 0x39DA /* export_1847 */] 00000812 4EAD 3962 jsr [A5 + 0x3962 /* export_1832 */] 00000816 381F move.w D4, [A7]+ 00000818 48C4 ext.l D4 0000081A 2004 move.l D0, D4 0000081C 5380 subq.l D0, 1 0000081E 206D FDC6 movea.l A0, [A5 - 0x23A] 00000822 2050 movea.l A0, [A0] 00000824 11BC 0001 0800 move.b [A0 + D0], 0x1 0000082A 7000 moveq.l D0, 0x00 0000082C A122 syscall NewHandle, flags=1 0000082E 2B48 FDDC move.l [A5 - 0x224], A0 00000832 2F08 move.l -[A7], A0 00000834 4EAD 38E2 jsr [A5 + 0x38E2 /* export_1816 */] 00000838 2F3C 4C44 4546 move.l -[A7], 0x4C444546 /* 'LDEF' */ 0000083E 2F2D FDDC move.l -[A7], [A5 - 0x224] 00000842 4EBA FC8A jsr [PC - 0x376 /* 000004CE */] 00000846 2F3C 4344 4546 move.l -[A7], 0x43444546 /* 'CDEF' */ 0000084C 2F2D FDDC move.l -[A7], [A5 - 0x224] 00000850 4EBA FC7C jsr [PC - 0x384 /* 000004CE */] 00000854 2F3C 4D44 4546 move.l -[A7], 0x4D444546 /* 'MDEF' */ 0000085A 2F2D FDDC move.l -[A7], [A5 - 0x224] 0000085E 4EBA FC6E jsr [PC - 0x392 /* 000004CE */] 00000862 2F3C 5744 4546 move.l -[A7], 0x57444546 /* 'WDEF' */ 00000868 2F2D FDDC move.l -[A7], [A5 - 0x224] 0000086C 4EBA FC60 jsr [PC - 0x3A0 /* 000004CE */] 00000870 2F3C 5041 434B move.l -[A7], 0x5041434B /* 'PACK' */ 00000876 2F2D FDDC move.l -[A7], [A5 - 0x224] 0000087A 4EBA FC52 jsr [PC - 0x3AE /* 000004CE */] 0000087E 206E 000C movea.l A0, [A6 + 0xC] 00000882 7000 moveq.l D0, 0x00 00000884 2080 move.l [A0], D0 00000886 206E 0008 movea.l A0, [A6 + 0x8] 0000088A 2080 move.l [A0], D0 0000088C 7A00 moveq.l D5, 0x00 0000088E 558F subq.l A7, 2 00000890 2F3C 7365 6721 move.l -[A7], 0x73656721 /* 'seg!' */ 00000896 A99C syscall CountResources 00000898 3C1F move.w D6, [A7]+ 0000089A 7E01 moveq.l D7, 0x01 0000089C 602C bra +0x2E /* 000008CA */ label0000089E: 0000089E 598F subq.l A7, 4 000008A0 2F3C 7365 6721 move.l -[A7], 0x73656721 /* 'seg!' */ 000008A6 3F07 move.w -[A7], D7 000008A8 A99D syscall GetIndResource 000008AA 265F movea.l A3, [A7]+ 000008AC 206E 000C movea.l A0, [A6 + 0xC] 000008B0 2D48 FEF6 move.l [A6 - 0x10A], A0 000008B4 598F subq.l A7, 4 000008B6 2F0B move.l -[A7], A3 000008B8 4EBA FCF0 jsr [PC - 0x310 /* 000005AA */] 000008BC 206E FEF6 movea.l A0, [A6 - 0x10A] 000008C0 201F move.l D0, [A7]+ 000008C2 D190 add.l [A0], D0 000008C4 2F0B move.l -[A7], A3 000008C6 A9A3 syscall ReleaseResource 000008C8 5247 addq.w D7, 1 label000008CA: 000008CA BC47 cmp.w D6, D7 000008CC 6CD0 bge -0x2E /* 0000089E */ 000008CE 558F subq.l A7, 2 000008D0 2F3C 6D65 6D21 move.l -[A7], 0x6D656D21 /* 'mem!' */ 000008D6 A99C syscall CountResources 000008D8 3C1F move.w D6, [A7]+ 000008DA 7E01 moveq.l D7, 0x01 000008DC 602C bra +0x2E /* 0000090A */ label000008DE: 000008DE 598F subq.l A7, 4 000008E0 2F3C 6D65 6D21 move.l -[A7], 0x6D656D21 /* 'mem!' */ 000008E6 3F07 move.w -[A7], D7 000008E8 A99D syscall GetIndResource 000008EA 265F movea.l A3, [A7]+ 000008EC 2853 movea.l A4, [A3] 000008EE 206E 000C movea.l A0, [A6 + 0xC] 000008F2 2014 move.l D0, [A4] 000008F4 D190 add.l [A0], D0 000008F6 206E 0008 movea.l A0, [A6 + 0x8] 000008FA 202C 0004 move.l D0, [A4 + 0x4] 000008FE D190 add.l [A0], D0 00000900 DAAC 0008 add.l D5, [A4 + 0x8] 00000904 2F0B move.l -[A7], A3 00000906 A9A3 syscall ReleaseResource 00000908 5247 addq.w D7, 1 label0000090A: 0000090A BC47 cmp.w D6, D7 0000090C 6CD0 bge -0x2E /* 000008DE */ 0000090E 2F05 move.l -[A7], D5 00000910 4EBA 002C jsr [PC + 0x2C /* 0000093E */] 00000914 A063 syscall MaxApplZone 00000916 7000 moveq.l D0, 0x00 00000918 2B40 FDD8 move.l [A5 - 0x228], D0 0000091C 2B40 FDD4 move.l [A5 - 0x22C], D0 00000920 4CEE 18F8 FEDA movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x126] 00000926 4E5E unlink A6 00000928 205F movea.l A0, [A7]+ 0000092A 504F addq.w A7, 8 0000092C 4ED0 jmp [A0] 0000092E 8D44 4F49 pack D6, D4, 0x4F49 00000932 4E49 trap 9 00000934 5455 addq.w [A5], 2 00000936 4D45 chk.w D6, D5 00000938 4D4F chk.w D6, A7 0000093A 5259 addq.w [A1]+, 1 0000093C 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 0000093E-00000944 fn0000093E: 0000093E 4E56 0000 link A6, 0 00000942 2F07 move.l -[A7], D7 // end alternate branch 0000093E-00000944 fn0000093E: // (misaligned) 00000940 0000 2F07 ori.b D0, 0x7 00000944 598F subq.l A7, 4 00000946 2EB8 0908 move.l [A7], [0x00000908 /* CurStackBase */] 0000094A 2E1F move.l D7, [A7]+ 0000094C 9EAE 0008 sub.l D7, [A6 + 0x8] 00000950 BEB8 0130 cmp.l D7, [0x00000130 /* ApplLimit */] 00000954 6C04 bge +0x6 /* 0000095A */ 00000956 2047 movea.l A0, D7 00000958 A02D syscall SetApplLimit label0000095A: 0000095A 2E2E FFFC move.l D7, [A6 - 0x4] 0000095E 4E5E unlink A6 00000960 2E9F move.l [A7], [A7]+ 00000962 4E75 rts 00000964 8D53 or.w [A3], D6 00000966 4554 chk.w D2, [A4] 00000968 5354 subq.w [A4], 1 0000096A 4143 chk.w D0, D3 0000096C 4B53 chk.w D5, [A3] 0000096E 5041 addq.w D1, 8 00000970 4345 chk.w D1, D5 00000972 0000 .incomplete